cmake_minimum_required(VERSION 3.5.0)

set(NAME joint)

project(${NAME})

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")


set(ROOT_PATH ../..)
set(DEP_PATH ${ROOT_PATH}/dep)

find_package(Gut)
find_package(Math)
find_package(imgui)

include_directories(${DEP_PATH})
include_directories(${DEP_PATH}/glm)

link_directories(${ROOT_PATH}/lib)


file(GLOB this_srcs *.cpp)
file(GLOB parent_srcs ../*.cpp)

add_executable(${NAME} main.cpp ${this_srcs} ${parent_srcs} )
target_link_libraries(${NAME} Math Gut imgui)



